Expand description
§UNIC — Unicode Normalization Forms
A component of unic
: Unicode and Internationalization Crates for Rust.
This UNIC component implements algorithms from Unicode Standard Annex #15 - Unicode Normalization Forms.
extern crate unic_normal;
use unic_normal::StrNormalForm;
fn main() {
let s = "ÅΩ";
let c = s.nfc().collect::<String>();
assert_eq!(c, "ÅΩ");
}
Structs§
- External iterator for a string decomposition’s characters.
- External iterator for a string recomposition’s characters.
Constants§
- UNIC component description.
- UNIC component name.
- UNIC component version.
- The Unicode version of data
Traits§
- Methods for iterating over strings while applying Unicode normalizations as described in Unicode Standard Annex #15.